package org.zachary.creditbusiness.commodityandhouse.dto;

import org.zachary.creditbusiness.commodityandhouse.entity.House;
import org.zachary.creditbusiness.commodityandhouse.entity.HouseDetails;

public class HouseDetailsWithHouseDTO {

    private HouseDetails houseDetails;
    private House house;

    // 默认构造函数
    public HouseDetailsWithHouseDTO() {}

    // 带参数的构造函数
    public HouseDetailsWithHouseDTO(HouseDetails houseDetails, House house) {
        this.houseDetails = houseDetails;
        this.house = house;
    }

    // Getters and Setters
    public HouseDetails getHouseDetails() {
        return houseDetails;
    }

    public void setHouseDetails(HouseDetails houseDetails) {
        this.houseDetails = houseDetails;
    }

    public House getHouse() {
        return house;
    }

    public void setHouse(House house) {
        this.house = house;
    }
}
